<!DOCTYPE html>
<html lang="zh-Hans">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>前端常见布局</title>

    <style>
        * {
            margin: 0;
            padding: 0;
        }

        a {
            text-decoration: none;
        }

        .main {
            width: 400px;
            background-color: lightgrey;
            margin: 100px auto;
        }

        .main ul {
            list-style: none;
            padding: 15px 0;
        }

        .main ul li {
            padding: 0 20px 5px;
        }

        .note {
            text-align: center;
        }
    </style>
</head>

<body>
    <div class="main">
        <ul>
            <li><a href="./shengbei_float.html">圣杯布局-float写法</a></li>
            <li><a href="./shengbei_flex.html">圣杯布局-flex写法</a></li>
            <li><a href="./shengbei_cssgrid.html">圣杯布局-CSS grid写法</a></li>
            <li><a href="./shuangfeiyi.html">双飞翼布局</a></li>            
            <li><a href="./CSS网格布局Demo.html">CSS网格布局Demo</a></li>

        </ul>
    </div>
    <div class="note">
        <a id="cb_post_title_url" class="postTitle2" href="https://www.cnblogs.com/LiveWithIt/p/6024864.html">探究负边距（negative
            margin）原理</a><br>
        <p>理解了浮动流中的负margin，也就理解了圣杯布局和双飞翼布局</p>
    </div>

</body>

</html>